package org.jeecg.modules.bigdatashow.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 生产线
 * @Author: jeecg-boot
 * @Date:   2022-04-05
 * @Version: V1.0
 */
@Data
@TableName("line")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="line对象", description="生产线")
public class Line implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**生产线名称*/
	@Excel(name = "生产线名称", width = 15)
    @ApiModelProperty(value = "生产线名称")
    private java.lang.String name;
	/**功效等级*/
	@Excel(name = "功效等级", width = 15)
    @ApiModelProperty(value = "功效等级")
    private java.lang.String level;
	/**开机时间*/
	@Excel(name = "开机时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "开机时间")
    private java.util.Date beginTime;
	/**负责人*/
	@Excel(name = "负责人", width = 15)
    @ApiModelProperty(value = "负责人")
    private java.lang.String director;
	/**工位数*/
	@Excel(name = "工位数", width = 15)
    @ApiModelProperty(value = "工位数")
    private java.lang.Integer workstation;
	/**公告*/
	@Excel(name = "公告", width = 15)
    @ApiModelProperty(value = "公告")
    private java.lang.String notice;
}
